package com.ys.everydaynews.ui.main.adapter

import androidx.databinding.ObservableArrayList
import com.ys.everydaynews.R
import com.ys.everydaynews.base.BaseBindingAdapter
import com.ys.everydaynews.databinding.ItemMinlistBinding
import com.ys.everydaynews.ui.main.model.CodeModel

class MinListBaseAdapter :
    BaseBindingAdapter<CodeModel, ItemMinlistBinding>(items = ObservableArrayList<CodeModel>()) {
    override fun getLayoutResId(): Int = R.layout.item_minlist

    override fun onBindItem(binding: ItemMinlistBinding?, bean: CodeModel, position: Int) {
        binding!!
    }
}